import '../../../models/response.dart';
import '../core/hi_net.dart';
import '../request/article_view_request.dart';

class ArticleViewDao {
  static get({int page = 0}) async {
    ArticleViewRequest request = ArticleViewRequest();
    request.add("page", page);
    var result = await HiNet.getInstance().fire(request);
    // print("artcle_view_dao: $result");
    TiebaResponse response = TiebaResponse.fromMap(result);
    return response;
  }
}
